package cn.south.campus.admin.campus.service;

import cn.south.campus.admin.campus.model.entity.Goods;
import cn.south.campus.admin.campus.model.enums.GoodsStatusEnums;
import cn.south.campus.admin.campus.model.req.GoodsReq;
import cn.south.campus.admin.campus.model.vo.GoodsVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2024/11/14 8:59
 */
public interface GoodsService extends IService<Goods> {
    IPage<GoodsVo> pageQuery(GoodsReq req);

    GoodsVo detail(Long id);

    void changeStatus(GoodsStatusEnums goodsStatusEnums, Long id);
}
